// 获取当前浏览器页面地址
const PROTOCOL = window.location.protocol;
const HOSTNAME = window.location.hostname;
const PROTOCOL_HOSTNAME = PROTOCOL + "//" + HOSTNAME;


// 接口地址列表
const API_PORT = 3000;
const API_URL = PROTOCOL_HOSTNAME + ':' + API_PORT + '/';
export const apiList = [
  API_URL
];

// 图片访问地址
const DOMAIN_IMG_PORT = 3000;
export const DOMAIN_IMG = PROTOCOL_HOSTNAME + ':' + DOMAIN_IMG_PORT + '/';

// 视频访问地址
const DOMAIN_VIDEO_PORT = 3000;
export const DOMAIN_VIDEO = PROTOCOL_HOSTNAME + ':' + DOMAIN_VIDEO_PORT + '/';